<?php

namespace app\common\model;

use think\Model;

class ArcTag extends Model
{
    //
    protected $table='blog_arc_tag';

    public function getTags($data){
        $result= $this->where('arc_id',$data)->select();
        $res=array();
        foreach ($result as $v) {
            $res[]=$v['tag_id'];
        }
        return $res;
    }
}
